<!DOCTYPE html>
<html>
{include file="public/head" /}
<style>
    table {
        table-layout: fixed;
    }


    td {
		font-size:12px;

        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
</style>
<body class="zanpian-body">
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="callout callout-title">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                <h4>{$nav.title}</h4>
                {notempty name="nav.remark"}
                <p>{$nav.remark}</p>
                {/notempty}
</div>
          <div class="nav-tabs-custom">
             <ul class="nav nav-tabs">
            <li class="active"><a href="#tab_2" data-toggle="tab">静态生成</a></li>         
            </ul>          
           <div class="panel-body">
            <div class="tab-content tab-fade fade active in" id="tab_2">
 <div class="box-header with-border mb15">
              <h3 class="box-title">静态页面生成管理</h3>
               {notempty name="jumpurl"}
              <a href="{$jumpurl}" class="btn btn-danger btn-del pull-right" style="margin-top:-5px">断点继续生成</a>
              {/notempty}             
            </div>
<div class="row">
  <div class="col-md-2 col-sm-4 col-xs-6 mb15">
  
               <div class="input-group">
                <div class="input-group-btn">
                <span class="btn btn-default">生成首页：</span>
                </div>
                <!-- /btn-group -->
               <a  class="btn btn-facebook" href="{:url('create',array('ac'=>'index'))}">生成</a>
              </div>   
              </div>   
  <div class="col-md-2 col-sm-4 col-xs-6 mb15">
               <div class="input-group">
                <div class="input-group-btn">
                <span class="btn btn-default">生成全站：</span>
                </div>
                <!-- /btn-group -->
               <a  class="btn btn-facebook" href="{:url('create',array('ac'=>'vod','jump'=>1))}">生成</a>
              </div>   
              </div>
    <div class="col-md-2 col-sm-4 col-xs-6 mb15">
               <div class="input-group">
                <div class="input-group-btn">
                <span class="btn btn-default">生成上次后：</span>
                </div>
                <!-- /btn-group -->
               <a  class="btn btn-facebook" href="{:url('create',array('ac'=>'vod','time'=>1,'jump'=>1))}">生成</a>
              </div>   
              </div>               
   <div class="col-md-2 col-sm-4 col-xs-6 mb15">
               <div class="input-group">
                <div class="input-group-btn">
                <span class="btn btn-default">生成今天：</span>
                </div>
                <!-- /btn-group -->
               <a  class="btn btn-facebook" href="{:url('create',array('ac'=>'vod','day'=>'today','jump'=>1))}">生成</a>
              </div>   
              </div>              
  <div class="col-md-2 col-sm-4 col-xs-6 mb15">
               <div class="input-group">
                <div class="input-group-btn">
                <span class="btn btn-default">生成单页：</span>
                </div>
                <!-- /btn-group -->
               <a class="btn btn-facebook" href="{:url('create',array('ac'=>'my'))}">生成</a>
              </div>   
              </div>       
             </div>
            <div class="box-header with-border">
              <h3 class="box-title">生成分类页面</h3>
            </div>
            <div class="box-body pl0" id="foreach">
            <form class="form-horizontal" method="post" action="{:url('create')}"> 
            <div class="select-group-t w40" style="float:left">
            <input type="hidden" name="ac" value="list">
            <select name="cid" class="form-control select2" style="width:100%">      
            <option value="">全部分类</option>
            {volist name="list" id="vo"}
            {notin name="vo.list_sid" value="8,9,11,13,14,15"}
            <option value="{$vo.list_id}">{$vo.title_show}</option>
            {/notin}
            {/volist}
            </select> 
            </div>
            <input type="submit"  style="float:left; margin-left:10px;" class="btn btn-facebook" value="生成">
             </form>  
           </div>      
             <div class="box-header with-border">
              <h3 class="box-title">生成内容页面</h3>
            </div>
            <form class="form-horizontal" method="post" action="{:url('create')}"> 
            <div class="box-body pl0">
            <div class="select-group-t w40" style="float:left">
            <select name="ac" class="form-control select2" style="width:100%">      
            {volist name=":config('model')" id="vo"}
            {notin name="vo.id" value="8,9,11,13,14,15"}
            <option value="{$vo.name}">{$vo.title}内容</option>
            {/notin}
            {/volist}
            </select> 
            </div>
              <div class="select-group-t w200" style="float:left;margin-left:5px;">
            <select name="day" class="form-control select2" style="width:100%">     
           <option value="today">今天更新</option>
           <option value="yesterday">昨天更新</option>
           <option value="week">本周更新</option>
           <option value="month">本月更新</option>
           <option value="year">今年更新</option>
           <option value="all">全部数据</option>
            </select> 
            </div>          
            <input type="submit"  style="float:left; margin-left:10px;" class="btn btn-facebook" value="生成">      
           </div> 
           </form> 
           </div>
            </div>
 
         </div>
         <!-- /.panel-body --> 
          </div>
          <!-- /.nav-tabs-custom -->
        </div>
        </div>
        </section>
{include file="public/footer" /}
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.all();
});	
</script>
</body>
</html>
